]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
osdWindow: Make sure the OSD is always our topmost chrome element
authorRui Matos <tiagomatos@gmail.com>
Thu, 30 May 2013 12:29:31 +0000 (14:29 +0200)
committerRui Matos <tiagomatos@gmail.com>
Wed, 5 Jun 2013 13:40:17 +0000 (15:40 +0200)
In particular this fixes the OSD showing up behind a modal dialog's
lightbox.

https://bugzilla.gnome.org/show_bug.cgi?id=701269

js/ui/osdWindow.js

index b0a70e12b35ee6d19ab3db4e9d04acfa4ed82500..09d03549ba238abb979257ad01703383c705a4da 100644 (file)
@@ -138,6 +138,7 @@ const OsdWindow = new Lang.Class({
         if (!this.actor.visible) {
             this.actor.show();
             this.actor.opacity = 0;
+            this.actor.get_parent().set_child_above_sibling(this.actor, null);
 
             Tweener.addTween(this.actor,
                              { opacity: 255,